package com.jky.trial.elasticsearch;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Document(indexName = "projects",type = "project", shards = 1, replicas = 0)
public class Projects {

    private Long id;

    private Integer to_user;
    private Integer from_user;
    private String user_oper_target;
    private BigDecimal cash;
    private Integer dep_id;
    private Integer target_id;
    private Integer type;
    private String type_label;
    private String you;
    private String no;
    private String content;
    private String status_outline;
    private String name;
    private Integer status;
    private Integer bus_id;
    private Date archive_at;
    private Date create_at;
    private String user_target;


}
